home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / portfoli / ws_edit / edit.doc < prev   
Encoding:
Text File  |  1996-10-30  |  20.4 KB  |  366 lines

  1.  
  2.                     HOW TO USE THIS EDITOR
  3.  
  4.  Before you can RUN this editor on the Portfolio, you have to change the
  5.  'External Display mode' in 'Tracked'. Run APP/S to change this setting.
  6.  
  7.  GETTING STARTED: From the operating system type EDIT [D:][Path]FILE.EXT<CR> 
  8.  where FILE is the name of the file you wish to edit (up to eight characters) 
  9.  and EXT is the extension. If no file name is given on the command line, the 
  10.  program will query you for a file name. The drive designation, D:, and path 
  11.  designation are optional; if they are omitted, the program will search the 
  12.  currently logged drive and directory. The file name including path 
  13.  specification can have up to 24 characters. 
  14.  
  15.  If a file is found with the name you have given, the program will load it, 
  16.  and present a screen for editing. If no file with this name is found, the 
  17.  program will ask you if this is a new file. If you really intend to create 
  18.  a new file, press "Y", and the program will present you with a blank screen 
  19.  ready to enter text. On the other hand, you may have misspelled the name of 
  20.  the file or made some other mistake that prevented the program from finding 
  21.  your file; if so, press "N" and the program will dump you back into the 
  22.  operating system so that you can try again. 
  23.  
  24.  The maximum file size that can be loaded depends on the amount of free 
  25.  memory you have in your machine. EDIT allocates space for 160 characters to 
  26.  each line of text; if your text has a lot of white space and blank lines, 
  27.  it will be loaded inefficiently. As a rule of thumb, you will need memory 
  28.  equal to 3 times the length of the file; thus, to edit a 100K file you will 
  29.  need 300K of free memory. The maximum number of lines that can be edited is 
  30.  2730. If you try to load a file that is too long for the available memory, 
  31.  the program will write "insufficient memory" and dump you back into the 
  32.  operating system. If you try to edit a file whose lines are longer than 160 
  33.  characters, the program will write "file too fat for this editor" and dump 
  34.  you back to the operating system. This is usually what happens when you try 
  35.  to edit a non ASCII file.
  36.  
  37.  DISPLAY. The statusline at the top of the screen shows the following: the 
  38.  line and the column numbers, updated after every keystroke, the editing 
  39.  mode which is either "insert" or "overwrite", the word wrap status, either 
  40.  "wordwrap" or "nowrap", and the name of the file you are editing. Finally 
  41.  there is a space on the extreme right which can contain an asterisk. The 
  42.  asterisk will appear as soon as you have changed something in the file. 
  43.  
  44.  The second line of the screen is the ruler line, which shows the width of 
  45.  the text. If the editor is in the "wordwrap" mode, this line shows left and 
  46.  right margins indicated by markers. When text is entered in the wordwrap 
  47.  mode it will be aligned between these two markers. This program turns on with 
  48.  the left margin set at column 1 and the right margin at column 76. 
  49.  
  50.  Some explanations: in the "insert" mode, any letter typed is inserted into 
  51.  the line at the cursor position and the rest of the line is pushed to the 
  52.  right. In the "overwrite" mode, any letter typed replaces the letter over 
  53.  the cursor and the rest of the line is unchanged. In "wordwrap" mode the 
  54.  program automatically moves any word that extends past the right margin to 
  55.  the beginning of the next line - sort of an automatic carriage return. In 
  56.  the "nowrap" mode, you have to insert the carriage returns yourself. 
  57.  Initially, the program comes on in the "insert" and "wordwrap" modes. 
  58.  
  59.  The rest of the screen is a window that displays 23 lines of text. A 
  60.  maximum of 79 characters are displayed on each line. A "<" symbol appears 
  61.  the 80th column if all the characters up to the end of a line can be 
  62.  displayed, If there are more than 79 characters in the line so that some 
  63.  characters on the right do not appear on the screen, a "+" symbol appears 
  64.  in the 80th column. If there is no symbol in the 80th column, the line is 
  65.  empty. With wide files (lines longer than 80 characters), the text may be 
  66.  shifted so that the beginning of the lines do not show on the screen. The 
  67.  ruler line shows you what part of the text you are looking at. 
  68.  
  69.  CHANGING THE STATUS: To toggle between "insert" and "overwrite" press the 
  70.  "Ins" key. Note the change in the status line as this key is pressed. To 
  71.  change other status parameters, type ^O ("Cntl" and "O" simultaneously) for 
  72.  "Onscreen". You will be asked "wordwrap?". Press either "Y" or "N". 
  73.  Pressing "N" turns off the margin markers and sets the left margin to 1. If 
  74.  you press "Y" you will queried for the left and right margins. The left 
  75.  margin may not exceed 80 and the right margin must be at least 24 spaces 
  76.  bigger than the left margin. Pressing <CR> at a query will leave these 
  77.  margins at their current settings. 
  78.  
  79.  TYPING: When entering text, the normal position of the cursor is one 
  80.  space past the end of the current line. A carriage return, <CR>, will 
  81.  create a new line and move the cursor to the beginning of this line; a <CR> 
  82.  with the cursor in the middle of a line of text will create a new line and 
  83.  move all the text to the right of the cursor to the new line. A backarrow 
  84.  (delete) with the cursor in the first column will delete the current line 
  85.  and stack all text to the right of the cursor on top of the previous line. 
  86.  A ^N (hold down the "N" key and the control key at the same time) will 
  87.  create a new blank line above the current line. 
  88.  
  89.  MOVING THE WINDOW: The screen can be thought of as a window viewing a 
  90.  portion of the text. To push the window down by one line push ^Z (press 
  91.  control and "z" at the same time). To push it up by one line press ^W. To 
  92.  push the viewing window down 22 lines in the text, press the "Pg Dn" key. 
  93.  To push it up by 22 lines, press the "Pg Up" key. To move the cursor all 
  94.  the way to to the bottom of the file, press the control and "Pg Dn" key at 
  95.  the same time. Control and "Pg Up" moves the cursor to the top of the file. 
  96.  
  97.  TRAVELING: To move the cursor, use the cursor arrow keys. If you try to move 
  98.  the cursor off the screen, the window will shift up, down or sideways so 
  99.  that the cursor remains visible. 
  100.  
  101.  The left and right arrow keys will not move the cursor off the current 
  102.  line. If the right arrow key takes the cursor past the end of the current 
  103.  line, entering any character will fill in the intervening space with 
  104.  blanks. Holding down the left arrow key moves the cursor to the beginning 
  105.  of the current line where it stops. The up and down keys will not take the 
  106.  cursor into a region where there is no text. 
  107.  
  108.  The "Home" key moves the cursor to the left margin on the current line. The 
  109.  "End" key moves the cursor to the end of the current line. In the wordwrap 
  110.  mode, lines ordinarily have a blank space at the end so that pressing "End" 
  111.  positions the cursor properly to add more words to the line. 
  112.  
  113.  To move the cursor left by one word, press function key F3; to move right 
  114.  one word, press F4. F3 stops in the space between words; this is the 
  115.  correct position for inserting punctuation. F4 stops at the beginning of 
  116.  the next word; this is the correct position for inserting words or cutting 
  117.  the line to start a new line. Keys F3 and F4 go "around the corner" whereas 
  118.  the cursor arrow keys do not; if F4 is pressed while the cursor is under 
  119.  the last word in the current line, the cursor will move to the first word 
  120.  in the next line. If F3 is pressed while the cursor is under the first word 
  121.  of the current line, the cursor will move to the end of the last word in 
  122.  the previous line. 
  123.  
  124.  TABS There are no fixed tabs. When you wish to enter data in columns, write 
  125.  the first line with appropriate spaces and use the tab key to align 
  126.  subsequent entries on the top line. The "Tab" key moves the cursor to the 
  127.  right until it lines up with the beginning of the next word on the previous 
  128.  line; if this moves the cursor past the end of the current line, blank 
  129.  spaces are inserted to fill in the line up to the cursor. The tab key is 
  130.  useful when writing code in structured languages such as Pascal or C. 
  131.  
  132.  DELETIONS: To delete the character currently over the cursor, push the 
  133.  "Del" key. To delete one character to the left of the cursor, push the 
  134.  backarrow key, "<--". This key moves the cursor to the left one space. 
  135.  
  136.  To delete a word to the left of the cursor, press F1. To delete a word to 
  137.  the right of the cursor, press F2. Like F3 and F4, keys F1 and F2 go 
  138.  "around the corner" to the next or previous line. 
  139.  
  140.  To delete an entire line, press F5. To delete all text from the cursor to 
  141.  the end of the line, press F6. To delete an entire paragraph, position the 
  142.  cursor on the first line of the paragraph and push F5 repeatedly until the 
  143.  paragraph is deleted. F5 normally moves the cursor down one line except 
  144.  when the cursor is on the last line in the text; then it moves the cursor 
  145.  up one line. 
  146.  
  147.  UNDELETION: If you delete some text by mistake, the "Esc" key will undo any 
  148.  deletions produced by the F1, F2, F5, and F6 keys provided no new 
  149.  characters have been typed in the mean time. 
  150.  
  151.  This undo feature can be used as a cut & paste facility to move phrases or 
  152.  paragraphs. 
  153.  
  154.  To move a phrase to another part of a sentence, delete the phrase using F1 
  155.  F2 and F6, move the cursor to the place in the sentence where you want the 
  156.  phrase to reappear and press "Esc". Then prss F7 to reorder the paragraph 
  157.  (see below) The order of the words will be preserved irrespective of the 
  158.  order in which you pressed F1 and F2. A maximum of 255 characters can be 
  159.  moved with F1, F2 and F6. 
  160.  
  161.  To move a paragraph, delete the lines in the paragraph using F5, move the 
  162.  cursor to the place in the file where you wish to relocate the paragraph, 
  163.  and press "Esc". The lines will be inserted just above the current position 
  164.  of the cursor. A maximum of 30 lines can be moved; if your text is longer 
  165.  than 30 lines, you will have to use two or more cycles to move it. Pressing 
  166.  "Esc" clears the buffer where the deletions are stored. 
  167.  
  168.  If you wish to replicate some text, delete the text and press ^U for 
  169.  "Undo". This will restore the text in the original location but will not 
  170.  clear the buffer. Now go to the new location and press "Esc" to put a 
  171.  duplicate copy of the text in the new location. 
  172.  
  173.  You can move words or you can move text lines with the delete/undelete 
  174.  sequence. You cannot move both in the same cycle. You will restore 
  175.  whichever you deleted last. 
  176.  
  177.  PARAGRAPH REFORMAT: Insertions and deletions will usually result in lines 
  178.  of unequal lengths. To neaten up the appearance of the paragraph, press F7. 
  179.  The lines in the paragraph - a paragraph is a block of text delineated by 
  180.  blank lines - will be adjusted to more or less equal length with right and 
  181.  left margins corresponding to the marks in the ruler line. This program 
  182.  does not do hyphenation. For the neatest possible right margin, you will 
  183.  have to insert hyphens by hand. 
  184.  
  185.  To split a long paragraph into two short paragraphs, position the cursor at 
  186.  the beginning of the sentence where you want the split, press <CR> twice 
  187.  and then F7. 
  188.  
  189.  If the margin marks are not visible, key F7 will not do anything; reformat 
  190.  works only when the program is in the "wordwrap" mode. 
  191.  
  192.  The paragraph reformat routine can only handle 30 lines at a time. If your 
  193.  paragraph has more than 30 lines, you will have to repeat the F7 command 
  194.  until the paragraph is completely reformatted. 
  195.  
  196.  Reformat does not preserve indentations; if you wish to indent a paragraph, 
  197.  reformat it starting with the cursor on the second line of the paragraph.
  198.  
  199.  CASE CHANGE: Pressing F8 will change the case of the letter over the cursor 
  200.  and move the cursor to the first letter of the next word. Control F8 will 
  201.  change the case of all of the letters in a word and move the cursor to the 
  202.  next word. If a word is already capitalized, F8 will uncaptitalize it. If a 
  203.  word is written in block capitals, ^F8 will change the letters to lower 
  204.  case. 
  205.  
  206.  INSERT AS ASCII CODE: Some characters, such as graphics symbols and Greek 
  207.  letters cannot be typed from the keyboard; other characters with a decimal 
  208.  order less than 32 will be interpreted as commands if typed. Any character, 
  209.  from 0 to 255 can be inserted into the text by the sequence <alt>A nnn <CR> 
  210.  where nnn is the ASCII number (decimal) of the character. 
  211.  
  212.  This feature may be used to write printer codes at the beginning of a file 
  213.  so as to select the type font and the line spacing that you want the 
  214.  printer to use when you copy your file to the printer. Be sure to insert a 
  215.  printer code at the end of the file to restore the printer to its original 
  216.  settings. 
  217.  
  218.  Another application of this feature is to print individual words or phrases 
  219.  in underlined, boldface or italic type font. Consult your printer manual 
  220.  for the proper sequences to change into and out of these modes. 
  221.  
  222.  To make the printer start a new page, type ASCII code 12.
  223.  
  224.  FIND & REPLACE: To find a word or phrase and replace it with something 
  225.  else, press F9. The statusline will disappear; in its place you will be 
  226.  asked "find?" for the text to find (up to 24 characters) and "replace 
  227.  with?" for the text to replace it. The find text is case sensitive, i.e. 
  228.  "Aardvark" is not the same as "aardvark". 
  229.  
  230.  The program will search forward from the present location of the cursor; if 
  231.  the text is found it will be displayed in a gaudy color scheme, and you 
  232.  will be asked if you really want to make the replacement. Press either "Y" 
  233.  or "N". Key F10 repeats the find or find & replace operation. If the text 
  234.  is not found, the program will give a warning beep and position your cursor 
  235.  at the end of the file. 
  236.  
  237.  If you just want to find text, enter a null string, <CR>, to the question 
  238.  "Replace with?' With a null string in the replacement buffer, the program 
  239.  just moves the cursor with no query about replacement. 
  240.  
  241.  The program turns on with "." in the find buffer and a null string in the 
  242.  replacement buffer; thus, until something else is entered in the find 
  243.  buffer, F10 will move the cursor to the end of the current sentence. 
  244.  
  245.  LOAD: To load text from another file and insert it into the file you are 
  246.  editing, move the cursor to the line where you wish to insert the text and 
  247.  press ^L. The program will query you for the name of the file you wish to 
  248.  load. If the file is found, text from the file will be inserted starting 
  249.  just below the line where your cursor is currently located. Cursor position 
  250.  will be unchanged by the load. 
  251.  
  252.  PUT: To put a portion of your text on a disk as a separate file, move the 
  253.  cursor to the first line of the text you wish to output and press ^P. The 
  254.  program will query you for the name of the file you wish to create. 
  255.  If a file with this name already exists, the program will append your output 
  256.  text to the existing file. Entering <CR> selects the default name. The 
  257.  default name is the file you are editing with the extension .XRP; thus, if 
  258.  you are editing 'MYFILE.TXT', your excerpt will be written to the disk as 
  259.  'MYFILE.XRP'. 
  260.  
  261.  Use the up and down arrow keys to move the cursor to the end of the
  262.  text that you wish to output. On color screens the text to be output will 
  263.  be highlighted in green. Only entire lines may be output; there is no limit 
  264.  to the number of lines. Press <CR> to write the text to the output file. 
  265.  
  266.  Recapitulation of Function Keys: To see this information on your screen, 
  267.  type <alt> H which brings up a help screen.
  268.  
  269.       F1    : Delete word to the left
  270.       F2    : Delete word to the right
  271.       F3    : Move cursor one word to the left
  272.       F4    : Move cursor one word to the right
  273.       F5    : Delete line and store in buffer
  274.       F6    : Delete from cursor to the end of the line
  275.       F7    : Reformat paragraph
  276.       F8    : Capitalize word     (^F8 : block capitals)
  277.       F9    : Find & Replace
  278.       F10   : Repeat Find & Replace
  279.       <Esc> : Undo deletions and clear buffer
  280.       ^U    : Undo deletions and retain buffer
  281.       ^P    : Put excerpt to disk
  282.       ^L    : Load insert from disk
  283.       ^O    : Wordwrap on/off. Reformat screen
  284.       ^K    : Quit the editor
  285.  
  286.  EDIT recognizes as alternates most one-keystroke Wordstar(TM) commands. 
  287.  ^Q as in ^Q^F or ^Q^A calls the find & replace procedure; ^K as in ^K^D or 
  288.  ^K^X quits the editor. 
  289.  
  290.  QUITTING: To quit the editor, type ^K (press control and "k" at the same 
  291.  time). If you have only been reading the file and the file has not been 
  292.  changed, the program exits to the system immediately. If the file has been 
  293.  changed, the program will ask you if you wish to save your changes. If you 
  294.  answer "Y" the program writes "as: ". Here, you have two choices. Enter 
  295.  <CR> and you will overwrite the old file on the disk. If you wish to save 
  296.  the old file as a backup, you must think up a new name for your altered 
  297.  file. Entering this new name will cause your altered text to be written as 
  298.  a new file, leaving your old file on the disk unchanged. 
  299.  
  300.  This program does not make a backup copy of the file that you are editing 
  301.  when starting, but since it works with the contents of the file entirely in 
  302.  machine memory and the source file closed, your original file will not be 
  303.  lost if the the power fails, or you hang up the machine and have to reboot 
  304.  while editing. However, when writing long files it is good practice to quit 
  305.  and reload from time to time so as to save your changes.
  306.  
  307. Final notes:
  308.  
  309.  COLOR CHANGE Users who are dissatisfied with the present color scheme may 
  310.  experiment by typing <alt> C to change the text color and <alt> B to change 
  311.  the background. There are 16 possible text colors and 8 possible background 
  312.  colors, giving 128 possible color combinations - 8 of them, of course, 
  313.  totally invisible e.g. blue on blue. When you have found an agreeable color 
  314.  combination, you can insert the values you have chosen in GetVideoMode by 
  315.  changing the assignments of attributes 'normal' and 'gaudy'. An attribute is
  316.  16 times the background color + the text color. For example, this text is
  317.  grey (color = 7) on a background of blue (color = 1); therefore the 
  318.  attribute 'normal' is 16*1 + 7 or 23.
  319.  
  320.  The first line of the screen, the status line, uses a rather gaudy color 
  321.  scheme in order to provide a cue as to when you are in the edit mode; the 
  322.  gaudy colors disappear when you are answering questions and reappear when 
  323.  you get back into the edit mode. If you prefer more subdued colors, type ^D 
  324.  to make the status line use the same colors as the rest of the screen. 
  325.  
  326.  SPELLING This program can be used in conjunction with the Borland Turbo 
  327.  Lightning spelling checker program, since it has no keystrokes in common 
  328.  with that program. 
  329.  
  330.  
  331.  
  332.          ----------------end-of-author's-documentation---------------
  333.  
  334.                         Software Library Information:
  335.  
  336.                    This disk copy provided as a service of
  337.  
  338.                         The Public (Software) Library
  339.  
  340.          We are not the authors of this program, nor are we associated
  341.          with the author in any way other than as a distributor of the
  342.          program in accordance with the author's terms of distribution.
  343.  
  344.          Please direct shareware payments and specific questions about
  345.          this program to the author of the program, whose name appears
  346.          elsewhere in  this documentation. If you have trouble getting
  347.          in touch with the author,  we will do whatever we can to help
  348.          you with your questions. All programs have been tested and do
  349.          run.  To report problems,  please use the form that is in the
  350.          file PROBLEM.DOC on many of our disks or in other written for-
  351.          mat with screen printouts, if possible.  The P(s)L cannot de-
  352.          bug programs over the telephone.
  353.  
  354.          Disks in the P(s)L are updated monthly, so if you did not get
  355.          this disk  directly from the P(s)L,  you should be aware that
  356.          the files in this set may no  longer be the current versions.
  357.  
  358.          For a copy of the latest monthly software library newsletter
  359.          and a list of the 1,000+ disks in the library, call or write
  360.  
  361.                         The Public (Software) Library
  362.                               P.O.Box 35705 - F
  363.                            Houston, TX 77235-5705
  364.                       (713) 721-6104 or (713) 721-5205
  365.  
  366.